package com.zmzncs.lmtc.module.shop.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zmzncs.lmtc.common.pojo.PageInfo;
import com.zmzncs.lmtc.module.shop.pojo.shop_manager.*;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.bind.annotation.RequestBody;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

/**
 * <p>
 * 商户-管理员 服务类
 * </p>
 *
 * @author 高博文
 * @since 2021-05-27
 */
public interface ShopManagerService extends IService<ShopManager> {

    /**添加商户主*/
    void add(ShopManagerAddForm form);

    /**根据手机号查询信息*/
    ShopManagerDTO getByTelephone(String telephone);

    /**条件分页查询商户管理员信息*/
    IPage<ShopManagerDTO> getManagerPage(ShopManagerSelectForm form);

    /**删除*/
    void delete(Long managerId);

    /**配置商户*/
    void updateManager(ShopManagerUpdateForm form);
}
